<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: dataCh结构体 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../d3/de4/structdata_ch-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">dataCh结构体 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../de/dfb/data_ch_8hpp_source.html">dataCh.hpp</a>&gt;</code></p>
<div class="dynheader">
类 dataCh 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/dcd/structdata_ch__inherit__graph.png" border="0" usemap="#adata_ch_inherit__map" alt="Inheritance graph"/></div>
<map name="adata_ch_inherit__map" id="adata_ch_inherit__map">
<area shape="rect" title=" " alt="" coords="497,5,671,144"/>
<area shape="rect" href="../../d1/d7e/classpipe.html" title="管道模块实现" alt="" coords="5,307,179,504"/>
<area shape="poly" title=" " alt="" coords="483,86,412,97,336,118,260,149,225,170,192,194,169,219,149,247,120,308,115,306,145,244,165,215,189,190,222,165,257,144,334,113,411,92,482,80"/>
<area shape="rect" href="../../d3/d03/classraw_socket.html" title="raw socket." alt="" coords="203,360,343,451"/>
<area shape="poly" title=" " alt="" coords="485,111,417,145,386,168,358,194,330,233,308,278,293,322,283,361,278,359,288,320,303,276,325,231,354,190,382,164,415,141,482,106"/>
<area shape="rect" href="../../d8/dc6/classserial.html" title="串口模块实现" alt="" coords="368,192,571,619"/>
<area shape="poly" title=" " alt="" coords="558,159,546,193,541,192,553,157"/>
<area shape="rect" href="../../da/d29/classtcp_connection.html" title=" " alt="" coords="595,240,803,571"/>
<area shape="poly" title=" " alt="" coords="615,157,644,239,639,241,610,159"/>
<area shape="rect" href="../../d8/dc4/classtcp_server.html" title="TCP服务器" alt="" coords="827,251,1000,560"/>
<area shape="poly" title=" " alt="" coords="686,107,754,142,787,164,817,190,840,218,860,250,855,253,836,222,813,194,784,168,751,146,683,112"/>
<area shape="rect" href="../../da/d35/classudp.html" title="UDP协议" alt="" coords="1025,229,1229,581"/>
<area shape="poly" title=" " alt="" coords="686,78,763,89,849,110,936,142,976,164,1014,190,1051,228,1047,231,1010,194,973,168,933,147,848,115,762,95,685,84"/>
</map>
</div>
<div class="dynheader">
dataCh 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/dde/structdata_ch__coll__graph.png" border="0" usemap="#adata_ch_coll__map" alt="Collaboration graph"/></div>
<map name="adata_ch_coll__map" id="adata_ch_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,179,144"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aec26b87a6293709885e7ce6b4348cc69" id="r_aec26b87a6293709885e7ce6b4348cc69"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aec26b87a6293709885e7ce6b4348cc69">onReadyRead</a> (const char *data=nullptr, size_t len)=0</td></tr>
<tr class="separator:aec26b87a6293709885e7ce6b4348cc69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58c0dde99cef17a9d095d066479897c" id="r_ac58c0dde99cef17a9d095d066479897c"><td class="memItemLeft" align="right" valign="top">virtual nativeH_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac58c0dde99cef17a9d095d066479897c">native_handle</a> ()=0</td></tr>
<tr class="separator:ac58c0dde99cef17a9d095d066479897c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a10a58a51fe8cd1be6341144a5e9af598" id="r_a10a58a51fe8cd1be6341144a5e9af598"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/dfb/data_ch_8hpp.html#a26fac20c91f664a1fc2936bfddc87112">chType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a10a58a51fe8cd1be6341144a5e9af598">m_type</a></td></tr>
<tr class="separator:a10a58a51fe8cd1be6341144a5e9af598"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../de/dfb/data_ch_8hpp_source.html">dataCh.hpp</a> 第 <a class="el" href="../../de/dfb/data_ch_8hpp_source.html#l00030">30</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ac58c0dde99cef17a9d095d066479897c" name="ac58c0dde99cef17a9d095d066479897c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac58c0dde99cef17a9d095d066479897c">&#9670;&#160;</a></span>native_handle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual nativeH_t dataCh::native_handle </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../d1/d7e/classpipe.html#a84308cc001f8ccdfb5d3891c8f8a51ad">pipe</a>, <a class="el" href="../../d8/dc6/classserial.html#a7146f26ba6f41f3bebdde28b377f82cd">serial</a>, <a class="el" href="../../da/d29/classtcp_connection.html#a161f0b77261a7eea16ab76836f5e89e6">tcpConnection</a>, <a class="el" href="../../d8/dc4/classtcp_server.html#ab635af2c0f540c98d70108ec3abb8b5c">tcpServer</a> , 以及 <a class="el" href="../../da/d35/classudp.html#a8004315f700e559e2a1ceca7933fc842">udp</a> 内被实现.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d78/structdata_ch_ac58c0dde99cef17a9d095d066479897c_icgraph.png" border="0" usemap="#adb/d78/structdata_ch_ac58c0dde99cef17a9d095d066479897c_icgraph" alt=""/></div>
<map name="adb/d78/structdata_ch_ac58c0dde99cef17a9d095d066479897c_icgraph" id="adb/d78/structdata_ch_ac58c0dde99cef17a9d095d066479897c_icgraph">
<area shape="rect" title=" " alt="" coords="198,81,349,108"/>
<area shape="rect" href="../../dc/d34/classepoll.html#ad1f9d722cdbd17a13c9e8c9384226519" title="添加数据通道。添加数据通道前，通道必须是已经打开完成的" alt="" coords="15,5,140,32"/>
<area shape="poly" title=" " alt="" coords="224,77,149,46,118,35,120,30,151,42,226,72"/>
<area shape="rect" href="../../d8/ded/classmiocp.html#aea377eeac97df1494800111f8e03f6d3" title=" " alt="" coords="11,56,144,83"/>
<area shape="poly" title=" " alt="" coords="182,86,144,81,145,75,183,80"/>
<area shape="rect" href="../../dc/d34/classepoll.html#a58d92beb99dc26c21eddd974a1dc2ff4" title="删除通道" alt="" coords="9,107,146,133"/>
<area shape="poly" title=" " alt="" coords="183,109,146,114,145,109,182,104"/>
<area shape="rect" href="../../d8/ded/classmiocp.html#add157a2e30a97d5dfbc38a4e2c32d146" title="删除通道" alt="" coords="5,157,150,184"/>
<area shape="poly" title=" " alt="" coords="226,117,151,148,120,159,118,154,149,143,224,112"/>
</map>
</div>

</div>
</div>
<a id="aec26b87a6293709885e7ce6b4348cc69" name="aec26b87a6293709885e7ce6b4348cc69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec26b87a6293709885e7ce6b4348cc69">&#9670;&#160;</a></span>onReadyRead()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void dataCh::onReadyRead </td>
          <td>(</td>
          <td class="paramtype">const char *</td>          <td class="paramname"><span class="paramname"><em>data</em></span><span class="paramdefsep"> = </span><span class="paramdefval">nullptr</span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>len</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../d1/d7e/classpipe.html#a66358ea593ce519a941aa5e5a679407f">pipe</a> , 以及 <a class="el" href="../../da/d35/classudp.html#a82110e55d4388bc5503a0c5fce70988d">udp</a> 内被实现.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a10a58a51fe8cd1be6341144a5e9af598" name="a10a58a51fe8cd1be6341144a5e9af598"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10a58a51fe8cd1be6341144a5e9af598">&#9670;&#160;</a></span>m_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../de/dfb/data_ch_8hpp.html#a26fac20c91f664a1fc2936bfddc87112">chType</a> dataCh::m_type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/dfb/data_ch_8hpp_source.html">dataCh.hpp</a> 第 <a class="el" href="../../de/dfb/data_ch_8hpp_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>include/mandarava/<a class="el" href="../../de/dfb/data_ch_8hpp_source.html">dataCh.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
